from django.conf.urls import url

from . import views


urlpatterns = [
    # 结算订单
    url(r'^orders/settlement/$', views.OrderSettlementView.as_view(),name='settlement'),
    # 提交订单
    url(r'^orders/commit/$', views.OrderCommitView.as_view()),
    # 展示提交订单成功界面
    url(r'^orders/success/$', views.OrderSuccessView.as_view()),
    # 订单页显示
    url(r'^orders/info/(?P<page_num>\d+)/$', views.OrderInfoView.as_view(),name='my_orders'),
    # 订单评价
    url(r'^orders/comment/$', views.OrderCommentView.as_view(),name='w'),
    # 详情页展示评价信息
    url(r'^comments/(?P<sku_id>\d+)/$', views.CommentView.as_view()),
]
